package com.bdqn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author dede
 * @since 2020-05-23
 */
public class PsInspectiontaskDetail extends Model<PsInspectiontaskDetail> {

    private static final long serialVersionUID=1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @TableField("TASKID")
    private PsInspectiontaskMain psInspectiontaskMain;
    

    @TableField("TASKSTATUS")
    private Long taskstatus;

    @TableField("POLEID")
    private Long poleid;

    @TableField("ISBUG")
    private Integer isbug;

    @TableField("INTACTRATE")
    private Double intactrate;

    @TableField("bugLevelId")
    private Long bugLevelId;

    @TableField("bugTypeId")
    private Long bugTypeId;

    @TableField("BUGDESC")
    private String bugdesc;

    @TableField("DISCOVERERCODE")
    private String discoverercode;

    @TableField("DISCOVERERNAME")
    private String discoverername;

    @TableField("DISCOVERTIME")
    private LocalDateTime discovertime;

    @TableField("ISSOLVE")
    private Integer issolve;

    @TableField("ISBUGLEVEL")
    private Integer isbuglevel;

    @TableField("INSPECTTIME")
    private LocalDateTime inspecttime;

    @TableField("CREATIONTIME")
    private LocalDateTime creationtime;

    @TableField("CREATEDBY")
    private String createdby;

    @TableField("LASTUPDATETIME")
    private LocalDateTime lastupdatetime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    

    public PsInspectiontaskMain getPsInspectiontaskMain() {
		return psInspectiontaskMain;
	}

	public void setPsInspectiontaskMain(PsInspectiontaskMain psInspectiontaskMain) {
		this.psInspectiontaskMain = psInspectiontaskMain;
	}

	public Long getTaskstatus() {
        return taskstatus;
    }

    public void setTaskstatus(Long taskstatus) {
        this.taskstatus = taskstatus;
    }

    public Long getPoleid() {
        return poleid;
    }

    public void setPoleid(Long poleid) {
        this.poleid = poleid;
    }

    public Integer getIsbug() {
        return isbug;
    }

    public void setIsbug(Integer isbug) {
        this.isbug = isbug;
    }

    public Double getIntactrate() {
        return intactrate;
    }

    public void setIntactrate(Double intactrate) {
        this.intactrate = intactrate;
    }

    public Long getBugLevelId() {
        return bugLevelId;
    }

    public void setBugLevelId(Long bugLevelId) {
        this.bugLevelId = bugLevelId;
    }

    public Long getBugTypeId() {
        return bugTypeId;
    }

    public void setBugTypeId(Long bugTypeId) {
        this.bugTypeId = bugTypeId;
    }

    public String getBugdesc() {
        return bugdesc;
    }

    public void setBugdesc(String bugdesc) {
        this.bugdesc = bugdesc;
    }

    public String getDiscoverercode() {
        return discoverercode;
    }

    public void setDiscoverercode(String discoverercode) {
        this.discoverercode = discoverercode;
    }

    public String getDiscoverername() {
        return discoverername;
    }

    public void setDiscoverername(String discoverername) {
        this.discoverername = discoverername;
    }

    public LocalDateTime getDiscovertime() {
        return discovertime;
    }

    public void setDiscovertime(LocalDateTime discovertime) {
        this.discovertime = discovertime;
    }

    public Integer getIssolve() {
        return issolve;
    }

    public void setIssolve(Integer issolve) {
        this.issolve = issolve;
    }

    public Integer getIsbuglevel() {
        return isbuglevel;
    }

    public void setIsbuglevel(Integer isbuglevel) {
        this.isbuglevel = isbuglevel;
    }

    public LocalDateTime getInspecttime() {
        return inspecttime;
    }

    public void setInspecttime(LocalDateTime inspecttime) {
        this.inspecttime = inspecttime;
    }

    public LocalDateTime getCreationtime() {
        return creationtime;
    }

    public void setCreationtime(LocalDateTime creationtime) {
        this.creationtime = creationtime;
    }

    public String getCreatedby() {
        return createdby;
    }

    public void setCreatedby(String createdby) {
        this.createdby = createdby;
    }

    public LocalDateTime getLastupdatetime() {
        return lastupdatetime;
    }

    public void setLastupdatetime(LocalDateTime lastupdatetime) {
        this.lastupdatetime = lastupdatetime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "PsInspectiontaskDetail{" +
        "id=" + id +
        ", taskid=" + psInspectiontaskMain.getId() +
        ", taskstatus=" + taskstatus +
        ", poleid=" + poleid +
        ", isbug=" + isbug +
        ", intactrate=" + intactrate +
        ", bugLevelId=" + bugLevelId +
        ", bugTypeId=" + bugTypeId +
        ", bugdesc=" + bugdesc +
        ", discoverercode=" + discoverercode +
        ", discoverername=" + discoverername +
        ", discovertime=" + discovertime +
        ", issolve=" + issolve +
        ", isbuglevel=" + isbuglevel +
        ", inspecttime=" + inspecttime +
        ", creationtime=" + creationtime +
        ", createdby=" + createdby +
        ", lastupdatetime=" + lastupdatetime +
        "}";
    }
}
